//根据活动类型获得商品
$('a[name="activity"]').click(function(){
	var productType = $(this).attr("data-productType");
	var activityName = $(this).find("span").text();
	var json = {
			"productType":productType,
			"activityName":activityName,
			"searchType":""
	}
	var jsonStr = JSON.stringify(json);
	window.location.href = base_url + "customer/getPlatformActivityClassify?jsonStr="+jsonStr;
	
});

//根据店家分类获得店家
$('a[name="shopCategory"]').click(function(){
	
	var shopCategoryId = $(this).attr("data-shopCategoryId");
	var json = {
			"shopCategoryId":shopCategoryId
	}
	var jsonStr = JSON.stringify(json);
	window.location.href = base_url + "customer/getSellerByShopCategoryId?jsonStr="+jsonStr;
});